home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VisualAge for Java 2.0 Entry / setup / data1.cab / ide-e / IDE / cache / 1VB96V5 (.txt) < prev    next >
Encoding:
Java Class File  |  1998-09-16  |  1.3 KB  |  28 lines

  1. package com.sun.java.swing.plaf.metal;
  2.  
  3. import java.beans.PropertyChangeEvent;
  4. import java.beans.PropertyChangeListener;
  5. import java.io.Serializable;
  6.  
  7. class MetalInternalFrameUI$PaletteListener implements PropertyChangeListener, Serializable {
  8.    // $FF: synthetic field
  9.    MetalInternalFrameUI this$0;
  10.  
  11.    public void propertyChange(PropertyChangeEvent e) {
  12.       String name = e.getPropertyName();
  13.       if (name.equals(MetalInternalFrameUI.IS_PALETTE)) {
  14.          if (e.getNewValue() != null) {
  15.             this.this$0.setPalette((Boolean)e.getNewValue());
  16.          } else {
  17.             this.this$0.setPalette(false);
  18.          }
  19.       }
  20.  
  21.    }
  22.  
  23.    // $FF: synthetic method
  24.    MetalInternalFrameUI$PaletteListener(MetalInternalFrameUI this$0) {
  25.       this.this$0 = this$0;
  26.    }
  27. }
  28.